#ifndef SOUND_3D_H
#define SOUND_3D_H

#include "Sound2D.h"
#include "Vec3.h"

namespace Engine
{
	class Sound3D : public Sound2D
	{
		private:
			Vec3 m_pos;
			Vec3 m_vel;

		public:
			virtual bool Load(const std::string& fileName);
			virtual bool Load(rapidxml::xml_node <>* node);

			void SetVel(const Vec3& vel);
			void SetPos(const Vec3& pos);

			const Vec3& GetVel() const {return m_vel;}
			const Vec3& GetPos() const {return m_pos;}
	};
	typedef std::shared_ptr <Sound3D> Sound3DSPtr;
}

#endif